// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) definits fieldsfirst ansi space safe 
// Source File Name:   CountOut.java

package jones.behavior;


public class CountOut
{

    private int count = 0;
    private int startCount = 0;

    public CountOut()
    {
        count = 0;
        startCount = 0;
    }

    public void update(int count)
    {
        this.count += count;
    }

    public void start()
    {
        startCount = count;
    }

    public boolean isPast(int duration)
    {
        return count - startCount >= duration;
    }
}
